github.com/google/go-cmp/cmp.formatOptions.FormatValue (method)
15 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L125: outx := opts.FormatValue(v.ValueX, parentKind, ptrs)
report_compare.go#L126: outy := opts.FormatValue(v.ValueY, parentKind, ptrs)
report_compare.go#L139: outx := opts.WithTypeMode(elideType).FormatValue(v.ValueX, parentKind, ptrs)
report_compare.go#L140: outy := opts.WithTypeMode(elideType).FormatValue(v.ValueY, parentKind, ptrs)
report_compare.go#L143: outx = opts2.FormatValue(v.ValueX, parentKind, ptrs)
report_compare.go#L144: outy = opts2.FormatValue(v.ValueY, parentKind, ptrs)
report_compare.go#L154: return opts.FormatValue(v.ValueX, parentKind, ptrs)
report_compare.go#L156: return opts.FormatValue(v.ValueY, parentKind, ptrs)
report_reflect.go#L114: func (opts formatOptions) FormatValue(v reflect.Value, parentKind reflect.Kind, ptrs *pointerReferences) (out textNode) {
report_reflect.go#L205: s := opts.WithTypeMode(autoType).FormatValue(vv, t.Kind(), ptrs)
report_reflect.go#L238: s := opts.WithTypeMode(elideType).FormatValue(v.Index(i), t.Kind(), ptrs)
report_reflect.go#L272: sv := opts.WithTypeMode(elideType).FormatValue(v.MapIndex(k), t.Kind(), ptrs)
report_reflect.go#L298: out = opts.FormatValue(v.Elem(), t.Kind(), ptrs)
report_reflect.go#L308: return opts.WithTypeMode(emitType).FormatValue(v.Elem(), t.Kind(), ptrs)
report_reflect.go#L368: s := opts.FormatValue(v, reflect.Map, ptrs).String()